from django.contrib import admin
from models import Collection, Set, Photo

class CollectionAdmin(admin.ModelAdmin):
    list_display = 'title', 'order', 'order_link'
admin.site.register(Collection, CollectionAdmin)
admin.site.register(Set)

class PhotoAdmin(admin.ModelAdmin):
    list_display = '__unicode__', 'thumbnail'
admin.site.register(Photo, PhotoAdmin)